package com.iplant.mes.service;

import com.iplant.aps.service.po.oms.OMSOrder;
import com.iplant.base.po.ServiceResult;
import com.iplant.basic.service.po.bms.BMSEmployee;
import com.iplant.mes.service.po.bcm.*;
import com.iplant.mes.service.po.sfc.SFCTaskSelf;

import java.util.List;

public interface BCMService {

    //region 创建条码
    ServiceResult<BCMRule> BCM_GetRuleByType(BMSEmployee wLoginUser, int wType,int wProductType);

    ServiceResult<List<BCMRuleCode>> BCM_CreateRuleCodeByType(BMSEmployee wLoginUser, OMSOrder wOMSOrder,int wType,int wProductType,int wNumber);

    ServiceResult<BCMRuleCode> BCM_CreateRuleCodeByType(BMSEmployee wLoginUser, OMSOrder wOMSOrder,int wType,int wProductType);

    ServiceResult<List<BCMRuleCode>> BCM_CreateRuleCodeByTask(BMSEmployee wLoginUser, SFCTaskSelf wSFCTaskSelf, int wNumber);
    ServiceResult<BCMRuleCode> BCM_CreateRuleCodeByRule(BMSEmployee wLoginUser, OMSOrder wOMSOrder, BCMRule wBCMRule, boolean wIsSelect);

    ServiceResult<List<BCMRuleCode>> BCM_CreateRuleCodeByRule(BMSEmployee wLoginUser,OMSOrder wOMSOrder, BCMRule wBCMRule, int wNumber,boolean wIsSelect);

    //endregion
}
